import { uniFileUpload } from '@/utils/http'
/**
 * @sign 图片上传
 * @method POST
 * @url /v1/SysFile/CreateWithFile
 */
const uploadImg_API = (data: { file: any }, formData) => {
    return uniFileUpload({
        url: `/v1/SysFile/CreateWithFile`,
        filePath: data.file,
        name: 'file',
        formData,
    })
}

export default {
    uploadImg_API,
}
